diff options
| author | Adam Soltys <[email protected]> | 2024-02-16 13:47:49 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-02-16 13:47:49 -0800 |
| commit | 25673e9182d2a5869a2e22a438d9dcd83554a190 (patch) | |
| tree | 89674469c2280236e655bbb9458d404f1cbf1422 /src/routes/(app)/[username]/items/create | |
| parent | f7416a62c14668a4ea699219b73e11cad2dd5d5e (diff) | |
| download | coinos-ui-25673e9182d2a5869a2e22a438d9dcd83554a190.tar.gz coinos-ui-25673e9182d2a5869a2e22a438d9dcd83554a190.zip | |
items wip
Diffstat (limited to 'src/routes/(app)/[username]/items/create')
| -rw-r--r-- | src/routes/(app)/[username]/items/create/+page.svelte | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/routes/(app)/[username]/items/create/+page.svelte b/src/routes/(app)/[username]/items/create/+page.svelte new file mode 100644 index 00000000..c9aeae1d --- /dev/null +++ b/src/routes/(app)/[username]/items/create/+page.svelte @@ -0,0 +1,14 @@ +<script> + import { t } from "$lib/translations"; + import ItemForm from "$comp/ItemForm.svelte"; + export let data; + let { token } = data; + let item = {}; +</script> + +<div class="container max-w-xl mx-auto"> + <h1 class="px-3 md:px-0 text-center text-3xl md:text-4xl font-semibold mb-10"> + {$t("items.add")} + </h1> + <ItemForm {item} {token} /> +</div> |
